<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML>
<html>
<head>
<base href="<%=basePath%>">

<title>新增试卷</title>
<link rel="stylesheet" type="text/css"
	href="<%=basePath%>jslib/bootstrap/css/bootstrap.css">
<link rel="stylesheet" type="text/css" href="<%=basePath%>css/theme.css">
<link rel="stylesheet"
	href="<%=basePath%>jslib/font-awesome/css/font-awesome.css">
<script src="<%=basePath%>jslib/jquery-1.7.2.min.js"
	type="text/javascript"></script>
</head>

<body class="content1">
	<div class="header">
		<h1 class="page-title">新增试卷</h1>
	</div>

	<ul class="breadcrumb">
		<li><a href="index.html">试卷管理</a> <span class="divider">/</span>
		</li>
		<li class="active">判填空题</li>
	</ul>

	<div class="container-fluid">
		<div class="row-fluid">
			<form action="<%=basePath%>paper/judgeasubblank" method="post">
				<input type="hidden" value="${model.connectionId }" name="id">
				<input type="hidden" value="2" name="state">
				<table class="table">
					<tbody>
						<tr>
							<td>问题：</td>
							<td>${model.problemquestion }</td>
						</tr>
						<tr>
							<td>答案：</td>
							<td>${model.studentanswer }</td>
						</tr>
						<tr>
							<td>参考答案：</td>
							<td>${model.rightanswer }</td>
						</tr>
						<tr>
							<td><c:forEach begin="0" end="${model.point }" var="item">
								${item }<input type="radio" name="point" value=${item }>
								</c:forEach></td>
						</tr>
						<tr>
							<td><input type="submit" value="确认"></td>
						</tr>
					</tbody>
				</table>
			</form>

		</div>
	</div>
</body>
</html>
